import { ExtractPropTypes, PropType } from "vue";

interface IContentText {
  contentdown?: string;
  contentrefresh?: string;
  contentnomore?: string;
}
type Status = "more" | "loading" | "noMore";

export const scrollRefreshLoadProps = {
  contentText: {
    type: Object as PropType<IContentText>,
  },
  finished: {
    type: Boolean,
  },
  loading: {
    type: Boolean,
  },
};

export type ScrollRefreshLoadProps = ExtractPropTypes<typeof scrollRefreshLoadProps>;
